export default {
  namespaced: true,

  state: () => ({
    name: "张三",
  }),

  getters: {
    len(state) {
      return state.name.length;
    },
  },

  mutations: {
    change(state, payload) {
      console.log("B change mutation");
    },
  },

  actions: {
    change(context, payload) {
      console.log("B change action");
    },
  },
};
